@use "var.scss" as *;
// 文章详情容器
.article-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    padding: 1.25rem;
    box-sizing: border-box;
    background-color: #fff;
    box-shadow: 0rem 0rem 0.65rem rgba(0, 0, 0, 0.1);
    margin-top: 1.25rem;
    margin-bottom: 2rem;
}

.article-item > * {
    margin-bottom: 1.25rem;
}

/* 移动端样式 */

@media (max-width: 767px) {
    .article-item {
        padding: 0rem;
    }
}

// 内容的盒子
.articles-body {
    width: 90%;
    padding: 0 5%;
}

@media (max-width: 767px) {
    .articles-body {
        width: 96%;
        padding: 0rem 2%;
    }
}

// 评论的盒子
.comment {
    width: 90%;
    padding: 0 5%;
}

@media (max-width: 767px) {
    .comment {
        width: 96%;
        padding: 0 2%;
    }
}

.day-mode .article-item {
    background-color: #fff;
    color: #21252b;
}

.night-mode .article-item {
    background-color: #21252b;
    color: #ffffff;
}
